import Vue from 'vue'
import App from './App.vue'
import BaiduMap from 'vue-baidu-map'
import router from './router'
import dataV from '@jiaminghi/data-view'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// import VideoPlayer from 'vue-video-player'
import Video from 'video.js'
import 'video.js/dist/video-js.css'
import echarts from 'echarts'
import service from './request/axios.js'
Vue.prototype.$echarts = echarts

Vue.prototype.$video = Video
Vue.prototype.$axios = service;

Vue.use(BaiduMap, {
  // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
  ak: 'zWrN8luKHm3VZYRc9WmVRZgHvBhtY92d'
  // ak: 'STHGdNVG0NGZ6lETco96ZM7LMWF78Wi4'
}).use(dataV)
/* 运用 ElementUI */
Vue.use(ElementUI)
// Vue.use(VideoPlayer)


Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')

